﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Uniforax.Core.Skills;

namespace Uniforax.Camp.TestData.SmallMiner
{
    public class SmallMinerSkillManager : BaseSkillManager
    {
        private SmallMinerMining _smallMinerMining;
        private BaseSkill[] _skills;

        public SmallMinerSkillManager()
        {
            _smallMinerMining = new SmallMinerMining();
            _skills = [_smallMinerMining];
        }

        public override IEnumerable<BaseSkill> GetSkills()
        {
            return _skills;
        }

        public override BaseSkill GetSkill(string id)
        {
            if (string.Equals(id, _smallMinerMining.SkillId)) return _smallMinerMining;
            return null;
        }
    }
}
